/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.dotexe.webframework.core.datasources;

import java.util.ArrayList;
import java.util.EventObject;

/**
 *
 * @author jovan.tomasevic
 */
public class SelectedIndexChangeEvent extends EventObject{
    private Object selectedItem;
    private ArrayList<Object> selectedItems;

     public SelectedIndexChangeEvent(Object source) {
        super(source);
    }

    public void setSelectedItem(Object selectedItem) {
        this.selectedItem = selectedItem;
    }

    /**
     * @return the selectedItem
     */
    public Object getSelectedItem() {
        return selectedItem;
    }

    /**
     * @return the selectedItems
     */
    public ArrayList<Object> getSelectedItems() {
        return selectedItems;
    }

    /**
     * @param selectedItems the selectedItems to set
     */
    public void setSelectedItems(ArrayList<Object> selectedItems) {
        this.selectedItems = selectedItems;
    }
}
